//
//  UIView+Animate.h
//  SleepingElf
//
//  Created by karong on 2023/6/19.
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (Animate)
/// 立即更新layout  view為需要更新layout的view的父view
- (void)uploadLayout;
/// 放大缩小動画
- (void)addScaleAnimtaionWithfromValue:(CGFloat)fromValue toValue:(CGFloat)toValue duration:(NSInteger)duration repeatCount:(NSInteger)repeatCount autoreverses:(BOOL)autoreverses;
/// 呼吸動效
- (void)addScaleAnimtaion;
@end

NS_ASSUME_NONNULL_END
